
package com.wwy.monitor.model.tddl.query;

import java.util.Date;
import java.util.List;

/**
 * @author long.Wanheng
 * @version V1.00
 * @createDate 2019/10/30
 */
public class MonitorTaskQuery {
    /**
     * 页码
     */
    private Integer pageNum = 1;
    /**
     * 每页行数
     */
    private Integer pageSize = 10;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 监控配置明细id
     */
    private Long detailId;
    /**
     * 运行状态 0未开始 1进行中 2 已完成
     */
    private Integer status;

    private Integer configType;
    /**
     * 是否删除 0未删除 1已删除
     */
    private Integer isDelete = 0;
    /**
     * 开始时间
     */
    private Long startTime;
    /**
     * 结束时间
     */
    private Long endTime;
    /**
     * date类型开始时间
     */
    private Date startDate;
    /**
     * date类型结束时间
     */
    private Date endDate;

    //查询使用
    private String statusStr;
    //查询使用
    private List<Integer> statusInList;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getConfigType() {
        return configType;
    }

    public void setConfigType(Integer configType) {
        this.configType = configType;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public List<Integer> getStatusInList() {
        return statusInList;
    }

    public void setStatusInList(List<Integer> statusInList) {
        this.statusInList = statusInList;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}